Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Flash ActionScript
1) Animation
2) Array
3) Class
4) Data Type
5) Development
6) Function
7) Graphics
8) Language
9) Network
10) Regular Expressions
11) Statement
12) String
13) TextField
14) XML
Class
1) A class named Product with a constructor and a method
2) A Primer on Inheritance
3) A simple example of a method declaration using parameters
4) Access Control Modifiers for Classes are listed before the keyword class in a class definition
5) Access Control Modifiers for Instance Methods
6) Accessing Object Methods
7) Accessing Object Properties
8) Add an instance variable
9) Add assignment code to class constructor
10) Add method to class
11) Add new method to the children class
12) Add public attribute to contrustor
13) Adding Static Methods to a Class
14) Adding Static Properties to a Class
15) Another option is to use implicit getters and setters
16) Build a returning value from get property method
17) Call setPropertyIsEnumerable in dynamic object
18) Call super constructor with parameter
19) Change member variable value in member method
20) Class composition
21) Class Objects
22) Class Scope
23) Class with final method
24) Constructor Methods in Subclasses
25) Constructor with parameter
26) Convert class to the more general type without writing any explicit code
27) Create a method and then call it by name
28) Create dynamic class
29) Creating a Constructor
30) Creating an Object
31) Creating Interfaces
32) Declare a constructor method for the Example class
33) Declares a new private property called _id within the Example class
34) Define a class
35) Define class with properties
36) Define instance variable varName with the access-control modifier internal
37) Defining Methods for a Class
38) Dynamic ActionScript
39) Dynamic References to Variables and Methods
40) Dynamically Adding New Behavior to an Instance
41) Extends an interface
42) Extends the super class
43) If a subclass does not define a constructor, ActionScript automatically creates one and adds a super call as its only statement
44) If you want the toString( ) method of Subclass to return a different value, youll need to override it in the subclass
45) Implement an Interface
46) Implement interface
47) Implement two interface
48) Implementing an Interface
49) Implementing Subclass Versions of Superclass Methods
50) Inherit protected variable
51) Inheritance vs Composition
52) Interface Inheritance
53) Interface Syntax and Use
54) Internal variable
55) Invoking an Overridden Instance Method
56) Making Lookup Tables with Object Literals
57) Managing ParameterVariable Name Conflicts with this
58) Method Parameters and Arguments
59) Method Returning Values
60) Override method from parent class
61) Overriding Behavior
62) Overriding Instance Methods
63) Polymorphism Demo
64) Preventing Classes from Being Extended and Methods from Being Overridden
65) Preventing Inheritance by using final keyword
66) Private variable is not inherited
67) Processing Dynamic Instance Variables with for-each-in and for-in Loops
68) Protected member variables
69) Reference static variable
70) Removing Properties
71) Set the memeber variable in constructor
72) Singleton Pattern
73) Singleton pattern with getInstance
74) Static Constants
75) Static Methods
76) Static Methods and Static Variables Not Inherited
77) Static Variables
78) Testing for Existence
79) The Internal Details
80) Three-level inheritance
81) Update data in a member method
82) Use get and set for properties
83) Use get and set to define the readable and writable properties
84) Use private attribute to define instance variable
85) Use super methodName to call method in the super class
86) Use this operator to investigate instances of classes for methods and public properties
87) Use this to reference member variable
88) Using Dynamic Instance Variables to Create Lookup Tables
89) Using Methods to Examine and Modify an Objects State
90) Using Objects as Associative Arrays
91) Using Static Methods and Properties
92) Using the dot ( ) operator to create the same variable causes an error because it violates the syntactic rules for identifiers
93) Using the returning value from method to do the calculation
94) You can call the superclass implementation from the subclass implementation using the super keyword to reference the superclass